<template>
	<div>
		<router-view></router-view>
		<div>
			<van-tabbar v-model="active" style="z-index: 5;">
				<van-tabbar-item replace to="/" icon="balance-o">悬赏</van-tabbar-item>
				<van-tabbar-item replace to="/xz" icon="bag-o">闲置</van-tabbar-item>
				<van-tabbar-item replace to="/gc" icon="home-o">广场</van-tabbar-item>
				<van-tabbar-item replace to="/xx" icon="chat-o">消息</van-tabbar-item>
				<van-tabbar-item replace to="/user" icon="user-o">我的</van-tabbar-item>
			</van-tabbar>
		</div>
	</div>
</template>

<script>
	import {
		ref
	} from 'vue';

	export default {
		name: 'App',
		setup() {
			const active = ref(0);
			return {
				active
			};
		},
		components: {

		}
	}
</script>

<style>

</style>